<div class="conRight">
	<div class="listbox">
	<div class="search">
		<ul class="clearfloat">
			<input type="text" name="key" id="key" value="" class="searchInp"/>
			<span class="searchBtn">新搜索</span>
			<span class="searchBtn1">在结果中搜索</span>
			<span class="searchMore">更多筛选条件<span class="searchMoreIcoS">&gt;</span></span>
		</ul>
		<ul class="searchTerm">
			<input type="radio" name="keyfrom"  value="titles" checked="checked"/>标题
			<input type="radio" name="keyfrom"  value="keyword" />文号
			<input type="radio" name="keyfrom"  value="context" />全文
			<span></span>
			<input type="radio" name="pattern"  value="false" />精确搜索
			<input type="radio" name="pattern"  value="true" checked="checked"/>模糊搜索
		</ul>
		<ul class="searchHide">
			<li>发文机关
				<input type="text" name="authors" id="authors" /></li>
			<li>发布日期
				<input type="text" name="minopenTime" id="minopenTime"    />
				<dl class='fbrq'></dl>
<!--				-<input type="text" name="maxopenTime" id="maxopenTime"   />-->
			</li>
			<!--<li>文  号<input type="text"  name="keyword" id="keyword" /></li>-->
			<li style="letter-spacing: 4px;" class="liSet">
				<em>时效性</em>
				<span class="seceltText" id="timeliness">全部</span>
				<ul class="seceltTextUl" style="left: -2px;top: 22px">
					<li>全部</li>
					<li>现行有效</li>
					<li>已修订</li>
					<li>已失效/废止</li>
				</ul>
			</li>
			<!--<li>生效日期
				<input type="text"  name="mineffectiveTime" id="mineffectiveTime" />
				<dl class="sxrq"></dl>
				<!---<input type="text"  name="maxeffectiveTime" id="maxeffectiveTime"/>
			</li>-->
		</ul>
	</div>
	<div class="AllcontentList" id="AllcontentList"></div>
	<div id="laypage" style="margin-left: inherit;" ></div>	
	</div>
	<style type="text/css">
		.ifbox{
			display: none;
		}
		iframe{
			float: right;
			border: none;
		}
	</style>
	<div style="overflow: hidden;" class="ifbox">
		<iframe src="" width="995px" height="auto"  name="policyInfo" scrolling="no" id="policyInfo"></iframe>
	</div>
</div>
<script id="AllcontentListText" type="text/html">
	{{#  if(d.length >0){ }}
		{{# for(var i = 0, len = d.length; i < len; i++){ }}
		    <li class="contentList">
				<h1 class="contentListName"><a href="/ceca_two/modules/policy/policyDetails.html?fieldId={{d[i].fieldId}}&policiesId={{d[i].policiesId}}" target="_blank">{{d[i].titles}}</a></h1>
				<ul class="contentListUl">
					
					{{#  if(d[i].authors){ }}<li ><i>发文机关：</i><span class="fwjg">{{d[i].authors}}</span></li>{{# } }}
					{{#  if(d[i].openTime){ }}<li><i>发文日期：</i><span>{{d[i].openTime}}</span></li>{{# } }}
					{{#  if(d[i].keyword){ }}<li><i>文&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</i><span>{{d[i].keyword}}</span></li>{{# } }}
					{{#  if(d[i].timeliness){ }}<li ><i>时&nbsp;&nbsp;效&nbsp;&nbsp;性：</i><span>{{d[i].timeliness}}</span></li>{{# } }}

					
					
				</ul>
				<ul class="contentListP"></ul>
			</li>
			
		{{# } }}
	{{#  }else{ }}
		 <h1 align="center" style="font-size: 30px; padding:100px 0px ;">没有搜索到相关信息 </h1>
	{{#  } }}
	
</script>
<script>
layui.use(['construction'], function(){
  
});
var dateObj = new Date();
var nowYear = dateObj.getFullYear(); 

for (i = nowYear ; i > 1949 ; i--) {
	$(".fbrq").append("<dd>"+i+"</dd>")
	$(".sxrq").append("<dd>"+i+"</dd>")

}

$("#minopenTime").on("click",function (e){
	
	$(this).next().slideToggle();
	window.event? window.event.cancelBubble = true : e.stopPropagation();
	
})
$(".fbrq dd").on("click",function (){
	
	$(this).parent().prev().val($(this).html());
	$(this).parent().slideToggle();
})
$(document).on("click",function (){
	$(".fbrq").hide();
})
$(".seceltTextUl li").on("click",function (){
	$(".seceltText").html($(this).html());
	$(this).parent().hide();
})

</script>